package com.hoshiicloud.user.param.organization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 新增店铺机构（供应商）部门参数
 * </p>
 *
 * @author campchen
 * @since 2019-05-15
 */

@Data
@ApiModel(value = "新增店铺机构（供应商）部门", description = "新增店铺机构（供应商）部门")
public class StoreOrganizationDepartmentesAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构ID 由系统自动传递", required = true, example = "3234906557745463516")
    @NotNull(message = "机构ID不能为空")
    private Long organizationId;

    @ApiModelProperty(value = "上级机构 由系统自动传递", required = true, example = "3234906557745463516")
    private Long parentId;

    @ApiModelProperty(value = "部门或事业部名称", required = true, example = "财务部")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "开户许可证")
    private String openPermit;

    @ApiModelProperty(value = "负责人", required = true)
    @NotNull(message = "负责人不能为空")
    private String charge;

    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    @ApiModelProperty(value = "对公帐号")
    private String bankNumber;

    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @ApiModelProperty(value = "所在支行")
    private String bankAddress;

    @ApiModelProperty(value = "税务登记号")
    private String taxation;

    @ApiModelProperty(value = "开票号")
    private String piaohao;

    @ApiModelProperty(value = "电话号码")
    private String telphone;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "传真")
    private String fax;

    @ApiModelProperty(value = "主页")
    private String home;

    @ApiModelProperty(value = "邮件")
    private String email;

    @ApiModelProperty(value = "公司地址")
    private String address;

    @ApiModelProperty(value = "创建人 由系统自动传递", required = true, example = "test777")
    private String createdBy;


}
